ARC: Cache: Move IOC initialization to a separate function
authorEugeniy Paltsev <[email protected]>
Wed, 21 Mar 2018 12:58:51 +0000 (15:58 +0300)
committerAlexey Brodkin <[email protected]>
Wed, 21 Mar 2018 14:06:49 +0000 (17:06 +0300)
commita6f557c4e04a70df2815a44e22a1c2f6c25a0a1c
treeefcf066fd8aa271ea7eaa518bbc5a971a2cb3a4a
parentc27814be336ee612418ff010f4002deb1cc9c387
ARC: Cache: Move IOC initialization to a separate function

Move IOC initialization from cache_init() to a separate function.

This is the preparation for the next patch where we'll switch
to is_isa_arcv2() function usage instead of "CONFIG_ISA_ARCV2"
ifdef.

Also it makes cache_init function a bit cleaner.

Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Alexey Brodkin <[email protected]>
arch/arc/lib/cache.c